package com.zhb86.live.ui;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageButton;
import android.widget.TextView;
import com.superyee.commonlib.ui.BaseFragment;
import com.zhb86.live.R;

public class LivePlayerFragment extends BaseFragment {

    private ImageButton iv_back;

    @Override
    protected int getLayoutId() {
        return R.layout.live_player_fragment;
    }
    public static LivePlayerFragment newInstance( String  code) {

        Bundle args = new Bundle();
        args.putString("code", code);
        LivePlayerFragment fragment = new LivePlayerFragment();
        fragment.setArguments(args);
        return fragment;
    }

    protected void initView(View view, Bundle savedInstanceState) {
        iv_back= view.findViewById(R.id.iv_back);
        iv_back.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                baseActivity.finish();
            }
        });
    }

    @Override
    public void initData() {

    }

    @Override
    protected void addListener() {

    }

    @Override
    protected void removeListener() {

    }

    @Override
    public void onReceiverNotify(int action, Object obj, int statusCode) {

    }
}
